package com.gddb.xwj.mywiki.exception;

/**
 * 描述：业务异常枚举类
 *
 * @author xwj
 * @create 2022-03-27 18:45
 */
public enum BusinessExceptionEnum {
    USER_LOGIN_NAME_EXITS("登录名已存在"),
    LOGIN_USER_ERROR("登录名或密码错误"),
    VOTE_REPEAT("您已点赞过"),
    ;

    private String desc;

    BusinessExceptionEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
